module.exports = app => {
    const mgs = require('mongoose')
    mgs.connect('mongodb://127.0.0.1:27017/node-vue-moba', {
        useNewUrlParser: true,
        useUnifiedTopology: true,
        useFindAndModify: false
    })
    require('../model/SportItem')
    require('../model/Student')
    require('../model/Class')
    require('../model/Category')
}